#ifndef ADDGUEST_H
#define ADDGUEST_H

#include <QDialog>
#include <sqlconn.h>
#include <QButtonGroup>

namespace Ui {
class AddGuest;
}

class AddGuest : public QDialog
{
    Q_OBJECT

public:
    explicit AddGuest(QWidget *parent = nullptr);
    ~AddGuest();
    void setSQL(SQLConn*&);

private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::AddGuest *ui;
    SQLConn* sql;
    QString m_name;
    int m_age;
    QString m_sex;
    QString m_phone;
    QString m_time;
    QButtonGroup *sexBtn;
};

#endif // ADDGUEST_H
